package com.bkgy.controller.tcmReport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.controller.tcmReport.entity.RepTcmOutputPlanAct;
import com.bkgy.controller.tcmReport.entity.pdo.PlanActRes;
import com.bkgy.sys.common.entity.ResultData;

import java.util.Date;

public interface IRepTcmOutputPlanActService extends IService<RepTcmOutputPlanAct> {
    ResultData<PlanActRes> findOutputPlanAct();

    /**
     * 初始化日计划和下达量
     * @param d
     */
    void initDayPlanXiadaJob(Date d);

    /**
     * 更新上一日产量、废次降量、封闭量
     * @param d
     */
    void updateLastDayOutputJob(Date d);
}
